package com.chinawlx.wlxteacher.network.bean;

import java.util.List;

/**
 * Created by chinawlx on 16/8/12.
 */
public class WLXHomeWorkCommentBean {
    /**
     * Code : 0
     * Msg :
     * Data : [{"id":20,"homework_id":14,"user_id":989,"content":"","is_teacher":false,
     * "extend":{"size":250772,"duration":7,"resource_url":["http://192.168.0
     * .107:8001/static/file/2016/07/20/a5a34cb5371594c305c478a0e38c5c97.caf"],"avatar_url":""},
     * "comment_content_code":{"key":"audio","value":"音频"},"ip":"192.168.0.18:51244",
     * "last_modified_date":"2016-07-20T11:21:47+08:00",
     * "creation_date":"2016-07-20T11:21:47+08:00","version":0}]
     */

    private int Code;
    private String Msg;
    /**
     * id : 20
     * homework_id : 14
     * user_id : 989
     * content :
     * is_teacher : false
     * extend : {"size":250772,"duration":7,"resource_url":["http://192.168.0
     * .107:8001/static/file/2016/07/20/a5a34cb5371594c305c478a0e38c5c97.caf"],"avatar_url":""}
     * comment_content_code : {"key":"audio","value":"音频"}
     * ip : 192.168.0.18:51244
     * last_modified_date : 2016-07-20T11:21:47+08:00
     * creation_date : 2016-07-20T11:21:47+08:00
     * version : 0
     */

    private List<DataBean> Data;

    public int getCode() {
        return Code;
    }

    public void setCode(int Code) {
        this.Code = Code;
    }

    public String getMsg() {
        return Msg;
    }

    public void setMsg(String Msg) {
        this.Msg = Msg;
    }

    public List<DataBean> getData() {
        return Data;
    }

    public void setData(List<DataBean> Data) {
        this.Data = Data;
    }

    public static class DataBean {
        private int id;
        private int homework_id;
        private int user_id;
        private String content;
        private boolean is_teacher;
        /**
         * size : 250772
         * duration : 7
         * resource_url : ["http://192.168.0
         * .107:8001/static/file/2016/07/20/a5a34cb5371594c305c478a0e38c5c97.caf"]
         * avatar_url :
         */

        private ExtendBean extend;
        /**
         * key : audio
         * value : 音频
         */

        private CommentContentCodeBean comment_content_code;
        private String ip;
        private String last_modified_date;
        private String creation_date;
        private int version;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getHomework_id() {
            return homework_id;
        }

        public void setHomework_id(int homework_id) {
            this.homework_id = homework_id;
        }

        public int getUser_id() {
            return user_id;
        }

        public void setUser_id(int user_id) {
            this.user_id = user_id;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public boolean isIs_teacher() {
            return is_teacher;
        }

        public void setIs_teacher(boolean is_teacher) {
            this.is_teacher = is_teacher;
        }

        public ExtendBean getExtend() {
            return extend;
        }

        public void setExtend(ExtendBean extend) {
            this.extend = extend;
        }

        public CommentContentCodeBean getComment_content_code() {
            return comment_content_code;
        }

        public void setComment_content_code(CommentContentCodeBean comment_content_code) {
            this.comment_content_code = comment_content_code;
        }

        public String getIp() {
            return ip;
        }

        public void setIp(String ip) {
            this.ip = ip;
        }

        public String getLast_modified_date() {
            return last_modified_date;
        }

        public void setLast_modified_date(String last_modified_date) {
            this.last_modified_date = last_modified_date;
        }

        public String getCreation_date() {
            return creation_date;
        }

        public void setCreation_date(String creation_date) {
            this.creation_date = creation_date;
        }

        public int getVersion() {
            return version;
        }

        public void setVersion(int version) {
            this.version = version;
        }

        public static class ExtendBean {
            private int size;
            private int duration;
            private String avatar_url;
            private List<String> resource_url;

            public int getSize() {
                return size;
            }

            public void setSize(int size) {
                this.size = size;
            }

            public int getDuration() {
                return duration;
            }

            public void setDuration(int duration) {
                this.duration = duration;
            }

            public String getAvatar_url() {
                return avatar_url;
            }

            public void setAvatar_url(String avatar_url) {
                this.avatar_url = avatar_url;
            }

            public List<String> getResource_url() {
                return resource_url;
            }

            public void setResource_url(List<String> resource_url) {
                this.resource_url = resource_url;
            }
        }

        public static class CommentContentCodeBean {
            private String key;
            private String value;

            public String getKey() {
                return key;
            }

            public void setKey(String key) {
                this.key = key;
            }

            public String getValue() {
                return value;
            }

            public void setValue(String value) {
                this.value = value;
            }
        }
    }
}
